home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1432.dms / var1432.adf / NDUK-V40.lha / V40 / include / graphics / modeid.i < prev    next >
Text File  |  1993-10-15  |  10KB  |  313 lines

  1.     IFND GRAPHICS_MODEID_I
  2. GRAPHICS_MODEID_I    SET    1
  3.  
  4. **
  5. **    $VER: modeid.i 39.8 (27.5.93)
  6. **    Includes Release 40.15
  7. **
  8. **    include define file for graphics display mode IDs.
  9. **
  10. **    (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. **
  13.  
  14.     IFND    GRAPHICS_DISPLAYINFO_I
  15.     include 'graphics/displayinfo.i'
  16.     ENDC
  17.  
  18. INVALID_ID            EQU    ~0
  19.  
  20. * normal identifiers
  21.  
  22. MONITOR_ID_MASK            EQU    $FFFF1000
  23.  
  24. DEFAULT_MONITOR_ID        EQU    $00000000
  25. NTSC_MONITOR_ID            EQU    $00011000
  26. PAL_MONITOR_ID            EQU    $00021000
  27.  
  28. ** the following 22 composite keys are for Modes on the default Monitor.
  29. ** NTSC & PAL "flavors" of these particular keys may be made by or'ing
  30. ** the NTSC or PAL MONITOR_ID with the desired MODE_KEY...
  31. **
  32. ** For example, to specifically open a PAL HAM interlaced ViewPort
  33. ** (or intuition screen), you would use the modeid of
  34. ** (PAL_MONITOR_ID | HAMLACE_KEY)
  35. **
  36.  
  37. LORES_KEY            EQU    $00000000 
  38. HIRES_KEY            EQU    $00008000 
  39. SUPER_KEY            EQU    $00008020 
  40. HAM_KEY                EQU    $00000800 
  41. LORESLACE_KEY            EQU    $00000004 
  42. HIRESLACE_KEY            EQU    $00008004 
  43. SUPERLACE_KEY            EQU    $00008024 
  44. HAMLACE_KEY            EQU    $00000804 
  45. LORESDPF_KEY            EQU    $00000400 
  46. HIRESDPF_KEY            EQU    $00008400 
  47. SUPERDPF_KEY            EQU    $00008420 
  48. LORESLACEDPF_KEY        EQU    $00000404 
  49. HIRESLACEDPF_KEY        EQU    $00008404 
  50. SUPERLACEDPF_KEY        EQU    $00008424 
  51. LORESDPF2_KEY            EQU    $00000440 
  52. HIRESDPF2_KEY            EQU    $00008440 
  53. SUPERDPF2_KEY            EQU    $00008460 
  54. LORESLACEDPF2_KEY        EQU    $00000444 
  55. HIRESLACEDPF2_KEY        EQU    $00008444 
  56. SUPERLACEDPF2_KEY        EQU    $00008464 
  57. EXTRAHALFBRITE_KEY        EQU    $00000080 
  58. EXTRAHALFBRITELACE_KEY        EQU    $00000084 
  59. * New for AA ChipSet (V39)
  60. HIRESHAM_KEY            EQU    $00008800
  61. SUPERHAM_KEY            EQU    $00008820
  62. HIRESEHB_KEY            EQU    $00008080
  63. SUPEREHB_KEY            EQU    $000080a0
  64. HIRESHAMLACE_KEY        EQU    $00008804
  65. SUPERHAMLACE_KEY        EQU    $00008824
  66. HIRESEHBLACE_KEY        EQU    $00008084
  67. SUPEREHBLACE_KEY        EQU    $000080a4
  68. * New for V40
  69. LORESSDBL_KEY            EQU    $00000008
  70. LORESHAMSDBL_KEY        EQU    $00000808
  71. LORESEHBSDBL_KEY        EQU    $00000088
  72. HIRESHAMSDBL_KEY        EQU    $00008808
  73.  
  74.  
  75. * VGA identifiers
  76.  
  77. VGA_MONITOR_ID            EQU    $00031000
  78.  
  79. VGAEXTRALORES_KEY        EQU    $00031004 
  80. VGALORES_KEY            EQU    $00039004 
  81. VGAPRODUCT_KEY            EQU    $00039024 
  82. VGAHAM_KEY            EQU    $00031804 
  83. VGAEXTRALORESLACE_KEY        EQU    $00031005 
  84. VGALORESLACE_KEY        EQU    $00039005 
  85. VGAPRODUCTLACE_KEY        EQU    $00039025 
  86. VGAHAMLACE_KEY            EQU    $00031805 
  87. VGAEXTRALORESDPF_KEY        EQU    $00031404 
  88. VGALORESDPF_KEY            EQU    $00039404 
  89. VGAPRODUCTDPF_KEY        EQU    $00039424 
  90. VGAEXTRALORESLACEDPF_KEY    EQU    $00031405 
  91. VGALORESLACEDPF_KEY        EQU    $00039405 
  92. VGAPRODUCTLACEDPF_KEY        EQU    $00039425 
  93. VGAEXTRALORESDPF2_KEY        EQU    $00031444 
  94. VGALORESDPF2_KEY        EQU    $00039444 
  95. VGAPRODUCTDPF2_KEY        EQU    $00039464 
  96. VGAEXTRALORESLACEDPF2_KEY    EQU    $00031445 
  97. VGALORESLACEDPF2_KEY        EQU    $00039445 
  98. VGAPRODUCTLACEDPF2_KEY        EQU    $00039465 
  99. VGAEXTRAHALFBRITE_KEY        EQU    $00031084 
  100. VGAEXTRAHALFBRITELACE_KEY    EQU    $00031085 
  101. * New for AA ChipSet (V39)
  102. VGAPRODUCTHAM_KEY        EQU    $00039824
  103. VGALORESHAM_KEY            EQU    $00039804
  104. VGAEXTRALORESHAM_KEY        EQU    VGAHAM_KEY
  105. VGAPRODUCTHAMLACE_KEY        EQU    $00039825
  106. VGALORESHAMLACE_KEY        EQU    $00039805
  107. VGAEXTRALORESHAMLACE_KEY    EQU    VGAHAMLACE_KEY
  108. VGAEXTRALORESEHB_KEY        EQU    VGAEXTRAHALFBRITE_KEY
  109. VGAEXTRALORESEHBLACE_KEY    EQU    VGAEXTRAHALFBRITELACE_KEY
  110. VGALORESEHB_KEY            EQU    $00039084
  111. VGALORESEHBLACE_KEY        EQU    $00039085
  112. VGAEHB_KEY            EQU    $000390a4
  113. VGAEHBLACE_KEY            EQU    $000390a5
  114.  
  115. * a2024 identifiers
  116.  
  117. A2024_MONITOR_ID        EQU    $00041000
  118.  
  119. A2024TENHERTZ_KEY        EQU    $00041000
  120. A2024FIFTEENHERTZ_KEY        EQU    $00049000
  121.  
  122. * prototype identifiers (private)
  123.  
  124. PROTO_MONITOR_ID        EQU    $00051000
  125.  
  126.  
  127. * These monitors and modes were added for the V38 release.
  128.  
  129. EURO72_MONITOR_ID         EQU    $00061000
  130.  
  131. EURO72EXTRALORES_KEY        EQU    $00061004
  132. EURO72LORES_KEY            EQU    $00069004
  133. EURO72PRODUCT_KEY        EQU    $00069024
  134. EURO72HAM_KEY            EQU    $00061804
  135. EURO72EXTRALORESLACE_KEY    EQU    $00061005
  136. EURO72LORESLACE_KEY        EQU    $00069005
  137. EURO72PRODUCTLACE_KEY        EQU    $00069025
  138. EURO72HAMLACE_KEY        EQU    $00061805
  139. EURO72EXTRALORESDPF_KEY        EQU    $00061404
  140. EURO72LORESDPF_KEY        EQU    $00069404
  141. EURO72PRODUCTDPF_KEY        EQU    $00069424
  142. EURO72EXTRALORESLACEDPF_KEY    EQU    $00061405
  143. EURO72LORESLACEDPF_KEY        EQU    $00069405
  144. EURO72PRODUCTLACEDPF_KEY    EQU    $00069425
  145. EURO72EXTRALORESDPF2_KEY    EQU    $00061444
  146. EURO72LORESDPF2_KEY        EQU    $00069444
  147. EURO72PRODUCTDPF2_KEY        EQU    $00069464
  148. EURO72EXTRALORESLACEDPF2_KEY    EQU    $00061445
  149. EURO72LORESLACEDPF2_KEY        EQU    $00069445
  150. EURO72PRODUCTLACEDPF2_KEY    EQU    $00069465
  151. EURO72EXTRAHALFBRITE_KEY    EQU    $00061084
  152. EURO72EXTRAHALFBRITELACE_KEY    EQU    $00061085
  153. * New AA modes (V39)
  154. EURO72PRODUCTHAM_KEY        EQU    $00069824
  155. EURO72PRODUCTHAMLACE_KEY    EQU    $00069825
  156. EURO72LORESHAM_KEY        EQU    $00069804
  157. EURO72LORESHAMLACE_KEY        EQU    $00069805
  158. EURO72EXTRALORESHAM_KEY        EQU    EURO72HAM_KEY
  159. EURO72EXTRALORESHAMLACE_KEY    EQU    EURO72HAMLACE_KEY
  160. EURO72EXTRALORESEHB_KEY        EQU    EURO72EXTRAHALFBRITE_KEY
  161. EURO72EXTRALORESEHBLACE_KEY    EQU    EURO72EXTRAHALFBRITELACE_KEY
  162. EURO72LORESEHB_KEY        EQU    $00069084
  163. EURO72LORESEHBLACE_KEY        EQU    $00069085
  164. EURO72EHB_KEY            EQU    $000690a4
  165. EURO72EHBLACE_KEY        EQU    $000690a5
  166. EURO72EXTRALORESDBL_KEY        EQU    $00061000
  167. EURO72LORESDBL_KEY        EQU    $00069000
  168. EURO72PRODUCTDBL_KEY        EQU    $00069020
  169. EURO72EXTRALORESHAMDBL_KEY    EQU    $00061800
  170. EURO72LORESHAMDBL_KEY        EQU    $00069800
  171. EURO72PRODUCTHAMDBL_KEY        EQU    $00069820
  172. EURO72EXTRALORESEHBDBL_KEY    EQU    $00061080
  173. EURO72LORESEHBDBL_KEY        EQU    $00069080
  174. EURO72PRODUCTEHBDBL_KEY        EQU    $000690a0
  175.  
  176.  
  177. EURO36_MONITOR_ID        EQU    $00071000
  178.  
  179. ** Euro36 modeids can be ORed with the default modeids a la NTSC and PAL.
  180. ** For example, Euro36 SuperHires is
  181. ** (EURO36_MONITOR_ID | SUPER_KEY)
  182. **
  183.  
  184. SUPER72_MONITOR_ID        EQU    $00081000
  185.  
  186. * Similarly for Super72 modes, with the following exceptions:
  187. SUPER72LORESDBL_KEY        EQU    $00081008
  188. SUPER72HIRESDBL_KEY        EQU    $00089008
  189. SUPER72SUPERDBL_KEY        EQU    $00089028
  190. SUPER72LORESHAMDBL_KEY        EQU    $00081808
  191. SUPER72HIRESHAMDBL_KEY        EQU    $00089808
  192. SUPER72SUPERHAMDBL_KEY        EQU    $00089828
  193. SUPER72LORESEHBDBL_KEY        EQU    $00081088
  194. SUPER72HIRESEHBDBL_KEY        EQU    $00089088
  195. SUPER72SUPEREHBDBL_KEY        EQU    $000890a8
  196.  
  197.  
  198. * These monitors and modes were added for the V39 release.
  199.  
  200. DBLNTSC_MONITOR_ID        EQU    $00091000
  201.  
  202. DBLNTSCLORES_KEY        EQU    $00091000
  203. DBLNTSCLORESFF_KEY        EQU    $00091004
  204. DBLNTSCLORESHAM_KEY        EQU    $00091800
  205. DBLNTSCLORESHAMFF_KEY        EQU    $00091804
  206. DBLNTSCLORESEHB_KEY        EQU    $00091080
  207. DBLNTSCLORESEHBFF_KEY        EQU    $00091084
  208. DBLNTSCLORESLACE_KEY        EQU    $00091005
  209. DBLNTSCLORESHAMLACE_KEY        EQU    $00091805
  210. DBLNTSCLORESEHBLACE_KEY        EQU    $00091085
  211. DBLNTSCLORESDPF_KEY        EQU    $00091400
  212. DBLNTSCLORESDPFFF_KEY        EQU    $00091404
  213. DBLNTSCLORESDPFLACE_KEY        EQU    $00091405
  214. DBLNTSCLORESDPF2_KEY        EQU    $00091440
  215. DBLNTSCLORESDPF2FF_KEY        EQU    $00091444
  216. DBLNTSCLORESDPF2LACE_KEY    EQU    $00091445
  217. DBLNTSCHIRES_KEY        EQU    $00099000
  218. DBLNTSCHIRESFF_KEY        EQU    $00099004
  219. DBLNTSCHIRESHAM_KEY        EQU    $00099800
  220. DBLNTSCHIRESHAMFF_KEY        EQU    $00099804
  221. DBLNTSCHIRESLACE_KEY        EQU    $00099005
  222. DBLNTSCHIRESHAMLACE_KEY        EQU    $00099805
  223. DBLNTSCHIRESEHB_KEY        EQU    $00099080
  224. DBLNTSCHIRESEHBFF_KEY        EQU    $00099084
  225. DBLNTSCHIRESEHBLACE_KEY        EQU    $00099085
  226. DBLNTSCHIRESDPF_KEY        EQU    $00099400
  227. DBLNTSCHIRESDPFFF_KEY        EQU    $00099404
  228. DBLNTSCHIRESDPFLACE_KEY        EQU    $00099405
  229. DBLNTSCHIRESDPF2_KEY        EQU    $00099440
  230. DBLNTSCHIRESDPF2FF_KEY        EQU    $00099444
  231. DBLNTSCHIRESDPF2LACE_KEY    EQU    $00099445
  232. DBLNTSCEXTRALORES_KEY        EQU    $00091200
  233. DBLNTSCEXTRALORESHAM_KEY    EQU    $00091a00
  234. DBLNTSCEXTRALORESEHB_KEY    EQU    $00091280
  235. DBLNTSCEXTRALORESDPF_KEY    EQU    $00091600
  236. DBLNTSCEXTRALORESDPF2_KEY    EQU    $00091640
  237. DBLNTSCEXTRALORESFF_KEY        EQU    $00091204
  238. DBLNTSCEXTRALORESHAMFF_KEY    EQU    $00091a04
  239. DBLNTSCEXTRALORESEHBFF_KEY    EQU    $00091284
  240. DBLNTSCEXTRALORESDPFFF_KEY    EQU    $00091604
  241. DBLNTSCEXTRALORESDPF2FF_KEY    EQU    $00091644
  242. DBLNTSCEXTRALORESLACE_KEY    EQU    $00091205
  243. DBLNTSCEXTRALORESHAMLACE_KEY    EQU    $00091a05
  244. DBLNTSCEXTRALORESEHBLACE_KEY    EQU    $00091285
  245. DBLNTSCEXTRALORESDPFLACE_KEY    EQU    $00091605
  246. DBLNTSCEXTRALORESDPF2LACE_KEY    EQU    $00091645
  247.  
  248. DBLPAL_MONITOR_ID        EQU    $000a1000
  249.  
  250. DBLPALLORES_KEY            EQU    $000a1000
  251. DBLPALLORESFF_KEY        EQU    $000a1004
  252. DBLPALLORESHAM_KEY        EQU    $000a1800
  253. DBLPALLORESHAMFF_KEY        EQU    $000a1804
  254. DBLPALLORESEHB_KEY        EQU    $000a1080
  255. DBLPALLORESEHBFF_KEY        EQU    $000a1084
  256. DBLPALLORESLACE_KEY        EQU    $000a1005
  257. DBLPALLORESHAMLACE_KEY        EQU    $000a1805
  258. DBLPALLORESEHBLACE_KEY        EQU    $000a1085
  259. DBLPALLORESDPF_KEY        EQU    $000a1400
  260. DBLPALLORESDPFLACE_KEY        EQU    $000a1404
  261. DBLPALLORESDPF2_KEY        EQU    $000a1440
  262. DBLPALLORESDPF2LACE_KEY        EQU    $000a1444
  263. DBLPALHIRES_KEY            EQU    $000a9000
  264. DBLPALHIRESFF_KEY        EQU    $000a9004
  265. DBLPALHIRESHAM_KEY        EQU    $000a9800
  266. DBLPALHIRESHAMFF_KEY        EQU    $000a9804
  267. DBLPALHIRESLACE_KEY        EQU    $000a9005
  268. DBLPALHIRESHAMLACE_KEY        EQU    $000a9805
  269. DBLPALHIRESEHB_KEY        EQU    $000a9080
  270. DBLPALHIRESEHBFF_KEY        EQU    $000a9084
  271. DBLPALHIRESEHBLACE_KEY         EQU    $000a9085
  272. DBLPALHIRESDPF_KEY        EQU    $000a9400
  273. DBLPALHIRESDPFLACE_KEY        EQU    $000a9404
  274. DBLPALHIRESDPF2_KEY        EQU    $000a9440
  275. DBLPALHIRESDPF2LACE_KEY        EQU    $000a9444
  276. DBLPALEXTRALORES_KEY        EQU    $000a1200
  277. DBLPALEXTRALORESHAM_KEY        EQU    $000a1a00
  278. DBLPALEXTRALORESEHB_KEY        EQU    $000a1280
  279. DBLPALEXTRALORESDPF_KEY        EQU    $000a1600
  280. DBLPALEXTRALORESDPF2_KEY    EQU    $000a1640
  281. DBLPALEXTRALORESFF_KEY        EQU    $000a1204
  282. DBLPALEXTRALORESHAMFF_KEY    EQU    $000a1a04
  283. DBLPALEXTRALORESEHBFF_KEY    EQU    $000a1284
  284. DBLPALEXTRALORESDPFFF_KEY    EQU    $000a1604
  285. DBLPALEXTRALORESDPF2FF_KEY    EQU    $000a1644
  286. DBLPALEXTRALORESLACE_KEY    EQU    $000a1205
  287. DBLPALEXTRALORESHAMLACE_KEY    EQU    $000a1a05
  288. DBLPALEXTRALORESEHBLACE_KEY    EQU    $000a1285
  289. DBLPALEXTRALORESDPFLACE_KEY    EQU    $000a1605
  290. DBLPALEXTRALORESDPF2LACE_KEY    EQU    $000a1645
  291.  
  292.  
  293. * Use these tags for passing to BestModeID() (V39)
  294.  
  295. MUST_FLAGS EQU (DIPF_IS_DUALPF!DIPF_IS_PF2PRI!DIPF_IS_HAM!DIPF_IS_EXTRAHALFBRITE)
  296.  
  297. BIDTAG_DIPFMustHave        EQU $80000001
  298. BIDTAG_DIPFMustNotHave        EQU $80000002
  299. BIDTAG_ViewPort            EQU $80000003
  300. BIDTAG_NominalWidth        EQU $80000004
  301. BIDTAG_NominalHeight        EQU $80000005
  302. BIDTAG_DesiredWidth        EQU $80000006
  303. BIDTAG_DesiredHeight        EQU $80000007
  304. BIDTAG_Depth            EQU $80000008
  305. BIDTAG_MonitorID        EQU $80000009
  306. BIDTAG_SourceID            EQU $8000000a
  307. BIDTAG_RedBits            EQU $8000000b
  308. BIDTAG_BlueBits            EQU $8000000c
  309. BIDTAG_GreenBits        EQU $8000000d
  310. BIDTAG_GfxPrivate        EQU $8000000e
  311.  
  312.     ENDC ; GRAPHICS_MODEID_I
  313.